package org.lhh.server.emun;

public enum DatabaseNode {
    ROOT("0", "-1", "root", "root"),
    SCHEMA("1", "0", "模式", "schema"),
    TABLE("2", "0", "表", "table"),
    VIEW("3", "0", "视图", "view"),
    SYNONYM("4", "0", "同义词", "synonym");

    private String id;

    private String pId;

    private String label;

    private String type;

    DatabaseNode(String id, String pId, String label, String type) {
        this.id = id;
        this.pId = pId;
        this.label = label;
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String msg) {
        this.label = msg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
